package com.aya.provider;

import com.aya.service.DemoModel;
import com.aya.service.GenericTestService;

public class GenericTestServiceImpl implements GenericTestService {
    @Override
    public String oneParam(String name) {
        return "一个参数调用成功,param:" + name;
    }

    @Override
    public String twoParam(String param1, String param2) {
        return "两个参数调用成功,param1:" + param1 + ",param2:" + param2;
    }

    @Override
    public String twoParam(String param1, DemoModel param2) {
        return "两个参数自定义类型调用成功,param1:" + param1 + ",param2:" + param2;
    }
}
